<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html>
<head>
  <title>Test van een simulator in javascript</title>
	<script type="text/javascript">JSCLASS_PATH = 'jsclass/src'</script>
	<script type="text/javascript" src="jsclass/src/loader.js"></script>
	<script language="javascript" src="EquationsClass.js" type="text/javascript"></script>
	<script language="javascript" src="Model.js" type="text/javascript"></script>
	<script language="javascript" src="Builder.js" type="text/javascript"></script>
	<script language="javascript" src="Interface.js" type="text/javascript"></script>
	<script language="javascript" src="Animation.js" type="text/javascript"></script>
	
</head>

<body>
	<script type="text/javascript">
	var myModel, myInterface;
	
	JS.require('JS.Class', function () { initEquations(); initModel(); initInterface(); initAnimation(); initBuilder(); doSimulation()});
	
	function doSimulation () {
		var bldr = new Builder("isoplusmatrix.sqx");
		myModel = bldr.buildModel();
		myModel.name = "myModel";
		myInterFace = bldr.buildInterfaces()[0];
		myInterFace.build(document);
		
		//document.write(myModel.generateHTML());
	}
	</script>

</body>